<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>

今天是 {{ var }}，欢迎光临！<br/>
当值员工：<br/>
{% for name in list %}
    <li>{{ name }}</li>
{% endfor %}

任务：<br/>  <!--在页面打印表格 and 迭代-->
<table border="1">
    {% for key,value in task.items() %}
        <tr>
            <td>{{ key }}</td>
            <td>{{ value }}</td>
        </tr>
    {% endfor %}
</table>

</body>
</html>